package grammer;

import grammer.components.Component;
import grammer.components.ObjectEnum;

/**
 * 
 * @author Minodor
 * 
 *         Adapter for Objects ( Modal,Local,Direct )- wrapped around
 *         enumeration;
 */
public abstract class Object implements Member {
	protected Component object;

	public Object(Component object) {
		super();
		this.object = object;
	}

	public Component getMember() {
		return object;
	}

	public ObjectEnum getObject() {
		return (ObjectEnum) object;
	}

	public void setObject(ObjectEnum object) {
		this.object = object;
	}

}
